接收客户端的PUSH请求,请求处理器走的SPI机制,业务实现由SPI扩展实现;1
2//ConnectionServer#init()
messageDispatcher.register(Command.PUSH, PushHandlerFactory::create);
1 | public interface PushHandlerFactory extends Factory<MessageHandler> { |
1 | 1) (order = |
接入服务文章目录:
穷则变、变则通、通则达
接收客户端的PUSH请求,请求处理器走的SPI机制,业务实现由SPI扩展实现;1
2//ConnectionServer#init()
messageDispatcher.register(Command.PUSH, PushHandlerFactory::create);
1 | public interface PushHandlerFactory extends Factory<MessageHandler> { |
1 | @Spi(order = 1) |
接入服务文章目录: